package com.sun.dream.fish.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.dream.fish.entity.TUserEntity;
import com.sun.dream.fish.vo.PageResultVO;
import com.sun.dream.fish.vo.ResultVO;
import com.sun.dream.fish.vo.back.UserVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ljl
 * @since 2023-11-27
 */
public interface TUserService extends IService<TUserEntity> {

    ResultVO<UserVO> saveUser(UserVO userVO);

    PageResultVO<UserVO> getUserList(String name, String status, Integer pageNum, Integer pageSize);

    ResultVO<UserVO> updateUser(UserVO roleVO);

    ResultVO<UserVO> deleteUser(Integer id);

    boolean checkUserExist(String username, String phoneNumber);
}
